package cn.jbt.api.admin.repository;

import cn.jbt.api.admin.entity.SysMenu;
import org.springframework.data.jpa.repository.JpaRepository;

public interface SysMenuRepository extends JpaRepository<SysMenu, Long> {

    SysMenu findFirstById(long id);

    SysMenu findFirstByPid(long pid);
}
